<template>
  <div id="app">
    <router-view />
    <theme-picker />
  </div>
</template>

<script>
import ThemePicker from "@/components/ThemePicker";

export default {
  name: "App",
  components: { ThemePicker },
  metaInfo() {
    return {
      title:
        this.$store.state.settings.dynamicTitle &&
        this.$store.state.settings.title,
      titleTemplate: (title) => {
        return title
          ? `${title} - ${process.env.VUE_APP_TITLE}`
          : process.env.VUE_APP_TITLE;
      },
    };
  },
};
</script>
<style scoped>
/* ::v-deep .outer-table .el-table .el-table__body tr:hover > td,
::v-deep .inner-table .el-table .el-table__body tr:hover > td {
  background-color: transparent !important;
} */

#app .theme-picker {
  display: none;
}
.scrollable-container {
  position: relative; /* 或其他定位方式，只要不是static */
  z-index: 1000000; /* 确保这个值高于遮挡元素的z-index */
  overflow-y: scroll; /* 允许垂直滚动 */
}
.el-table__body tr.hover-row > td.el-table__cell {
  background-color: transparent !important;
}
</style>
